import request from '../utils/request'

interface IParams {
  city: string
}

export const getWeather = function (params: IParams) {
  return request({
    url: '/weather/2',
    params: params
  })
}
